package com.lanxin.judge.mapper;

import com.lanxin.judge.Vo.ApprovalVo;
import com.lanxin.judge.entity.LcApproval;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;
import java.util.Map;
import java.util.Objects;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author author
 * @since 2025-08-11
 */
public interface LcApprovalMapper extends BaseMapper<LcApproval> {

    //根据订单号查询审批时间
    public String getApprovalDateByDocNo(String docNo);

    //根据申请单编号获取approvalVo
    public List<ApprovalVo> getApprovalByDocNo(String docNo);

    //审批申请单
    public int doApproval(Map<String,Object> map);
}
